class Admin::EventsController < ApplicationController
  before_filter :authenticate
  layout "admin"

  protected

  def authenticate
    authenticate_or_request_with_http_basic do |user_name, password|
      user_name == "username" && password == "password"
    end
  end
end
